package com.zmzncs.lmtc.module.promotion.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmzncs.lmtc.module.promotion.pojo.duration_rule_park.DurationRulePark;
import com.zmzncs.lmtc.module.promotion.pojo.duration_rule_park.DurationRuleParkDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 促销-时长规则类型 服务类
 * </p>
 *
 * @author 任建波
 * @since 2020-08-12
 */
public interface DurationRuleParkService extends IService<DurationRulePark> {

    /**根据parkId查询该停车场规则的其他停车场*/
    List<DurationRuleParkDTO> getDurationRuleParkByParkId(String parkId, String keyword);

    /**根据时长规则id停车场*/
    List<DurationRuleParkDTO> getDurationRuleParkByRuleId(@Param("durationRuleId") Long durationRuleId, @Param("keyword") String keyword);

}
